package code.whmmm.util.spring.quartz;

import code.whmmm.util.thread.ThreadManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p><b>
 *
 * </b></p>
 * <br/>
 * 创建时间: 8/28/2019 9:56 AM
 *
 * @author Zero
 */
@Configuration
public class SpringThreadManager {

    @Bean(name = "spring-thread-manager-pool")
    public ThreadManager createSpringManager() {
        return new ThreadManager("spring-thread-manager-pool", 10);
    }


}
